home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Proper way to add font menu < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Proper way to add font menu?
  2. Sent:        6/24/96 5:28 PM
  3. Received:    6/24/96 5:36 PM
  4. From:        Shinji Shimizu, shimizu@kyoto.screen.co.jp
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Hi Arni!
  9.  
  10. I had same proublem.
  11.  
  12. I do not know whether it is correct way or not.
  13. The way is below.
  14.  
  15.  
  16. 1. I describes other menus by ODFRC.
  17. 2. In the FW_CPart::Initialize() , I made one FW_CPullDownMenu object.
  18. 3. After that, I created font menu by FW_CFontIterator object.
  19. 4. I add it to MenuBar object by AdoptMenuFirst().
  20.  
  21.  
  22. If there is better way , I also want to know.
  23.  
  24.  
  25. >What is the proper way to add a font menu in ODF. I haven't found any
  26. >sample code. Did I miss it?
  27. >
  28. >Thanks.
  29. >
  30. >Arni
  31. =====================================
  32.                    Shinji Shimizu 
  33.        DAINIPPON SCREEN MFG. CO, LTD.                       
  34. Research and Development Department
  35.          Imageing Products Division           
  36.        E-mail:$B!!(Bshimizu@screen.co.jp                      
  37. =====================================
  38.